#!python
#
# Pyste file for osg::VecStroage2<T> (for various values of T).

VecStorage2 = Template('osg::VecStorage2', 'OpenSG/OSGVector.h')

types = { 'osg::UInt8' : 'ub',
          'osg::Int8' : 'b',
          'osg::UInt16' : 'us',
          'osg::Int16' : 's',
          'osg::Real32' : 'f',
          'osg::Real64' : 'd',
          'osg::Real128' : 'ld',
        }

for type, alias in types.iteritems():
   Include('VecStorageWrappers.h')
   c = VecStorage2('%s' % type)
   exclude(c._iSize)
   set_wrapper(c.getSeparateValues,
               'osgwrap::VecStorage2_getSeparateValues_tuple')
